<!DOCTYPE html>
<html>
<head>
<link rel=match href=root_display_ref.html>
<script>
  document.removeChild(document.documentElement);
  root = document.createElementNS(null, "html");
  body = document.createElement("body");
  body.appendChild(document.createTextNode("Hello world!"));
  root.appendChild(body);
  document.appendChild(root);
</script>
</head>
<body>
</body>
</html>
